home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D GFX
/
3D GFX.iso
/
amiutils
/
i_l
/
irit5
/
makeflag.tc
< prev
next >
Wrap
Text File
|
1995-12-30
|
2KB
|
87 lines
#
# All libraries created will be installed into the LIB directory.
#
LIB_DIR = d:\bc\mylib
GRAP_LIB = $(LIB_DIR)\grap_lib.lib
PRSR_LIB = $(LIB_DIR)\prsr_lib.lib
GEOM_LIB = $(LIB_DIR)\geom_lib.lib
CAGD_LIB = $(LIB_DIR)\cagd_lib.lib
SYMB_LIB = $(LIB_DIR)\symb_lib.lib
TRIM_LIB = $(LIB_DIR)\trim_lib.lib
TRIV_LIB = $(LIB_DIR)\triv_lib.lib
INTR_LIB = $(LIB_DIR)\intr_lib.lib
MISC_LIB = $(LIB_DIR)\misc_lib.lib
XTRA_LIB = $(LIB_DIR)\xtra_lib.lib
BOOL_LIB = $(LIB_DIR)\bool_lib.lib
GIF_LIB = $(LIB_DIR)\gif_libl.lib
#
# Where Borland libraries are to searched for.
#
TC_LIB_DIR = d:\bc\lib
#
# All includes files associated with the libraries compiled here will be
# installed into the INC directory.
#
INC_DIR = d:\bc\myinclud
#
# All binaries created will be installed into the BIN directory.
#
BIN_DIR = d:\c\irit\bin
#
# Location of object file to resolve circularities in libraries.
#
CIRCLINK = d:/c/irit/circlink/circlink.obj
#
# Flags for compiler/linker:
#
# CPU/FPA flags.
#
CPUTYPE = -f287 -3
#
# Debug flags:
#
# CFLAGS = $(CPUTYPE) -ml -a- -f -c -d -w -v -y -N -k
# LFLAGS = /v/c
#
# Optimized for size flags for Borland C++ 3.x
# Change -O1 to -O2 for speed optimization.
# Warning: You may use -pr options for all tools but IRIT.
#
CFLAGS = $(CPUTYPE) -ml -a- -f -G- -O1 -r -c -d -w -v- -y- -N- -k-
LFLAGS = /x/c
#
# Math lib can be one of emu.lib (80x87 emulation) or fp87.lib.
#
MATHLIB = emu.lib
# Your C compiler and linker.
CC = bcc
LNK = tlink
#
# Default rule for compilation.
#
# The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
# choke on them (the { } signals batch mode that combines few operation at the
# same time - very nice feature!).
.c.obj:
$(CC) -I. -I$(INC_DIR) $(CFLAGS) {$< }
#
# All libraries.
#
LIBS = $(CIRCLINK) $(BOOL_LIB) $(GEOM_LIB) $(PRSR_LIB) $(GRAP_LIB) \
$(TRIM_LIB) $(TRIV_LIB) $(SYMB_LIB) $(CAGD_LIB) $(INTR_LIB) \
$(MISC_LIB) $(XTRA_LIB) $(GIF_LIB) \
$(TC_LIB_DIR)\graphics.lib \
$(TC_LIB_DIR)\$(MATHLIB) \
$(TC_LIB_DIR)\mathl.lib \
$(TC_LIB_DIR)\cl.lib